package com.designPattern.decorator.component;

/**
 * 饮料抽象类
 */
public abstract class Beverage {
	
	/**
	 * 饮料描述
	 */
	private String description = "Unknown Beverage";

	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * 抽象付钱方法，子类实现
	 * @return
	 */
	public abstract Double cost();
}
